package _24_beiwanglu_pattern.v2_0;

/**
 * @Description: 备忘录
 * @Auther: 2019/6/6 18:05 by zhang.jy
 */
public class Memento {
	//男孩的状态
	private String state = "";

	//通过构造函数传递状态信息
	public Memento(String _state) {
		this.state = _state;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
}